﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    public class Techer
    {
        protected string Name;
        private int Age;
        protected int Id;
        internal long Number;



        public Techer(string name, int age, int id, long number)
        {
            this.Name = name;
            this.Age = age;
            this.Id = id;
            this.Number = number;
        }
        public void PrintMsg()
        {
            Console.WriteLine("老师姓名" + this.Name);
            Console.WriteLine("老师年龄" + this.Age);
            Console.WriteLine("老师id" + this.Id);
            Console.WriteLine("老师手机" + this.Number);
        }
    }

}

